import java.lang.reflect.Field;
import java.lang.reflect.Method;

import javax.xml.crypto.Data;

import uci.rt.ugrm.events.domain.Status;



public class Reflection
{

	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		Status obj = new Status();
		Field[] ff = obj.getClass().getDeclaredFields();
		 Method mm[] = obj.getClass().getDeclaredMethods();
		 for(Field f :ff) {	
			 Class<?> clazz = f.getType();
	              System.out.println(f.getName() + "  " + f.getType() );	
	              System.out.println(clazz);
	    }
		 for(Method m :mm) {		 
				
             System.out.println(m.getName());
		 }
	}

}
